package sctu.edu.java.year2016.team06.luoxin.day20160621;

import java.util.Arrays;

/**
 * Created by Administrator on 2016/6/21.
 */
public class shuzu {
    public static void main(String[] args) {
        shuzu hello=new shuzu();
        int []hobby=hello.getArray(10);
        System.out.println(Arrays.toString(hobby));
    }
    public  int[] getArray(int length){
        int []nums=new int [length];
        for(int i=0;i<nums.length;i++){
            nums[i]=(int)(Math.random()*100);
        }
        return nums;
    }
}
